<template>
    <el-button type="primary">编辑</el-button>
    <Edit></Edit>
</template>
  
<script lang="ts" setup>
import Edit from "./edit.vue"
import { useTheme } from "@/hooks/useTheme"
import zhCn from "element-plus/es/locale/lang/zh-cn";

const { initTheme } = useTheme()

/** 初始化主题 */
initTheme()
/** 将 Element Plus 的语言设置为中文 */
const locale = zhCn
</script>

